<?php
namespace app\index\model;

use app\common\model\Base;
class ChongZhi extends Base
{
	public function WeiXinRecharge($czadmin,$ddbh,$je,$username,$zt,$ydzt,$czclass,$xxbank,$cztime,$czip,$nbzh,$liuyan,$zsje,$zsbs,$msje,$msbs,$usclass,$account='',$mm=0.00,$czqje=''){
		$res = ChongZhi::name('chongzhi_list')
				->bind(['czadmin'=>$czadmin,'ddbh'=>$ddbh,'je'=>$je,'username'=>$username,'zt'=>$zt,'ydzt'=>$ydzt,'czclass'=>$czclass,'xxbank'=>$xxbank,'cztime'=>time(),'pay_time'=>$cztime,'czip'=>$czip,'nbzh'=>$nbzh,'liuyan'=>$liuyan,'hy_zsje'=>$zsje,'hy_zsbs'=>$zsbs,'hy_msje'=>$msje,'hy_msbs'=>$msbs,'us_class'=>$usclass,'openren'=>$account,'method_money'=>$mm,'czqje'=>$czqje])
				->insert(['czadmin'=>':czadmin','ddbh'=>':ddbh','je'=>':je','username'=>':username','zt'=>':zt','ydzt'=>':ydzt','czclass'=>':czclass','xxbank'=>':xxbank','cztime'=>':cztime','pay_time'=>':pay_time','czip'=>':czip','nbzh'=>':nbzh','liuyan'=>':liuyan','hy_zsje'=>':hy_zsje','hy_zsbs'=>':hy_zsbs','hy_msje'=>':hy_msje','hy_msbs'=>':hy_msbs','us_class'=>':us_class','openren'=>':openren','method_money'=>':method_money','czqje'=>':czqje']);
		return $res;
	}
}